include ../../projmake.mk

OUTDIR=../

ar=ar
.phony:build_main build_debug

build_main:$(OUTDIR)lib$(APPNAME).a libs

build_debug:$(OUTDIR)lib$(DBGAPPNAME).a libs_debug

$(OUTDIR)lib$(DBGAPPNAME).a:$(DBOBJECTS)
	@$(AR) rcs $(DIROUT)$@ $^
	@python -c $(increment_version)

$(OUTDIR)lib$(APPNAME).a:$(OBJECTS)
	@$(AR) rcs $(DIROUT)$@ $(OBJECTS)
	@python -c $(increment_version)